//
//  RaceLimitLocation.m
//  Regatta Mapping
//
//  Created by Asif on 8/5/12.
//  Copyright (c) 2012 TopOfStack Software. All rights reserved.
//

#import "RaceLimitLocation.h"

@implementation RaceLimitLocation
@synthesize sequence = _sequence;
@synthesize coordinate = _coordinate;

- (id)initWithTitle:(NSString*)title coordinate:(CLLocationCoordinate2D)coordinate
{
    if ((self = [super init])) 
    {
        _sequence = [title copy];
        _coordinate = coordinate;
    }
    return self;
}

#pragma mark MKAnnotation Protocol methods

- (NSString *)title 
{
    return _sequence;
}

-(void) dealloc
{
    [_sequence release];
    [super dealloc];
}

@end
